import jsgl from '@/pages/auth/jsgl/index.vue'
import yhgl from '@/pages/auth/yhgl/index.vue'
import cdgl from '@/pages/auth/cdgl/index.vue'
import gngl from '@/pages/auth/gngl/index.vue'
import qxgl from '@/pages/auth/qxgl/index.vue'
import jggl from '@/pages/auth/jggl/index.vue'
import organManage from '@/pages/auth/jggl/organManage.vue'
import dutyList from '@/pages/auth/duty/dutyList.vue'
import configUser from '@/pages/auth/duty/configUser.vue'
import xgmm from '@/pages/auth/xgmm/index.vue'
import systemParSetType from '@/pages/auth/xtcs/systemParSetType.vue'
import systemParSet from '@/pages/auth/xtcs/systemParSet.vue'
import xgyyzl from '@/pages/auth/xgyyzl/index.vue'
import qygl from '@/pages/auth/qygl/index.vue'

export default [



  {
    path: '/role',
    name: 'jsgl',
    meta: {
      title: '角色管理',
      icon: 'dashboard',
      noCache: true,
      affix: true
    },
    component: jsgl
  },
  {
    path: '/user/mod-password',
    name: 'xgmm',
    meta: {
      title: '修改密码',
      icon: 'dashboard',
      noCache: true,
      affix: true
    },
    component: xgmm
  },
  {
    path: '/user/mod-user',
    name: 'xgyyzl',
    meta: {
      title: '修改资料',
      icon: 'dashboard',
      noCache: true,
      affix: true
    },
    component: xgyyzl
  },
  {
    path: '/user',
    name: 'yhgl',
    meta: {
      title: '用户管理',
      icon: 'dashboard',
      noCache: true,
      affix: true
    },
    component: yhgl
  },
  {
    path: '/function',
    name: 'cdgl',
    meta: {
      title: '菜单管理',
      icon: 'dashboard',
      noCache: true,
      affix: true
    },
    component: cdgl
  },
  {
    path: '/api',
    name: 'gngl',
    meta: {
      title: '操作管理',
      icon: 'dashboard',
      noCache: true,
      affix: true
    },
    component: gngl
    },
    { path: '/auth/dutyList', name: 'dutyList', meta: {
        title: '跨域管理',  
        icon: 'dashboard',
        noCache: true,  //是否缓存
        affix: true    //是否固定图钉
    }, component: dutyList },
    { path: '/auth/configUser', name: 'configUser', meta: {
        title: '职务配置',  
        icon: 'dashboard',
        noCache: true,  //是否缓存
        affix: true    //是否固定图钉
    }, component: configUser },
    { path: '/auth/systemParSetType', name: 'systemParSetType', meta: {
        title: '参数类型设置',  
        icon: 'dashboard',
        noCache: true,  //是否缓存
        affix: true    //是否固定图钉
    }, component: systemParSetType },
    { path: '/auth/systemParSet', name: 'systemParSet', meta: {
        title: '参数设置',  
        icon: 'dashboard',
        noCache: true,  //是否缓存
        affix: true    //是否固定图钉
    }, component: systemParSet },
    
  {
    path: '/permission',
    name: 'qxgl',
    meta: {
      title: '权限管理',
      icon: 'dashboard',
      noCache: true, //是否缓存
      affix: true //是否固定图钉
    },
    component: qxgl
  },
  {
    path: '/organ',
    name: 'jggl',
    meta: {
      title: '组织结构',
      icon: 'dashboard',
      noCache: true,
      affix: true
    },
    component: jggl
  },
  {
    path: '/organ/manage',
    name: 'organManage',
    meta: {
      title: '机构管理',
      icon: 'dashboard',
      noCache: true,
      affix: true
    },
    component: organManage
  },
  {
    path: '/auth/qygl',
    name: 'qygl',
    meta: {
      title: '区域管理',
      icon: 'dashboard',
      noCache: true, //是否缓存
      affix: true //是否固定图钉
    },
    component: qygl
  },


]
